import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn import  datasets
iris = datasets.load_iris()
df = pd.DataFrame(iris.data,
                  columns=['花萼长度','花萼宽度','花瓣长度','花瓣宽度'])
print(df)
sns.set_style(style='darkgrid',rc={'font.sans-serif':'SimHei'})
sns.set_palette('bright')
sns.pairplot(data=df)
plt.show()